﻿<%@ Page AutoEventWireup="true" CodeFile="Upload.aspx.cs" Inherits="Task_Upload"
    Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>无标题页</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />

    <script src="../Scripts/jquery.js" type="text/javascript"></script>

    <script src="../Scripts/interface.js" type="text/javascript"></script>

    <script type="text/javascript">
        
	    var uploadSelect = function(el)
	    {
		    el.fadeOut("show");		
		    parent.uploading(document.getElementById("<%=file1.ClientID %>").value,'<%=itemID %>');
		    $("#<%=frmUpload.ClientID %>").submit();
	    };
 	    
    </script>

    <style type="text/css">
        *{ margin:0; padding:0; font-size:9pt; color:#666;}
        input {	font-family: "宋体"; font-size: 12px; padding: 2px 2px 1px 2px;}        
    </style>
</head>
<body>
    <form id="frmUpload" runat="server" enctype="multipart/form-data" method="post">
        附件：<input id="file1" runat="server" onchange="uploadSelect($(this));" style="width: 320px;"
            type="file" />
    </form>
</body>
</html>
